DISCUSSION
The
ATSUDisposeStyle function only frees memory associated with the style object and its internal structures, including style run attributes.
ATSUDisposeStyle does not dispose of the memory pointed to by application-defined style run attributes or reference constants. You are responsible for doing so.